import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;


public class Platform{
 int x, y, w, h;
 
 public Platform(int xi,int yi,int wi,int hi){
		x=xi;
		y=yi;
		w=wi;
		h=hi;
	}
 public void drawSelf(Graphics g) {
	Graphics2D g2=(Graphics2D)g;
	g2.setColor(Color.blue);
	g2.fillRect(x, y, w, h);
	
	}
}
